package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.entity.AreaEntity;
import com.css.fxfzypg.modules.baseData.queryParams.AreaQueryParams;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @author y1fan
 * @create 2022-08-10 14:10
 */
public interface AreaSevice {


    AreaEntity updateArea(AreaEntity areaEntity);

    JSONObject findArea(AreaQueryParams areaQueryParams);

    void deleteArea(String areaId);

    void addArea(AreaEntity areaEntity);

    AreaEntity findByAreaId(String areaId);

    void deleteManyArea(List<String> ids);

    void exportExcel(HttpServletResponse response)throws IOException;

    void importExcel(MultipartFile file)throws IOException;
}
